<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.hostmanagement.user.UserBean;"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>left</title>
		<LINK href="./css/style.css" type=text/css rel=stylesheet>
		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #5CB7FE;
}

.STYLE3 {
	font-size: 12px
}
-->
</style>
	</head>

	<body>
		<table width="149" border="0" cellpadding="0" cellspacing="0">
			<!--DWLayoutTable-->
			<tr>
				<td width="7" height="8"></td>
				<td width="134"></td>
				<td width="8"></td>
			</tr>
			<tr>
				<td height="5" colspan="3" align="center" valign="top">
					<img src="images/left_top.jpg" width="134" height="5" />
				</td>
			</tr>
			<tr>
				<td height="500">
					&nbsp;
				</td>
				<td valign="top" background="images/left_mid.jpg">
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<!--DWLayoutTable-->
						<tr>
							<td height="8" colspan="2" valign="top"
								background="images/left_mid.jpg">
								<img src="images/left_mid.jpg" width="134" height="8" />
							</td>
						</tr>
						<%
      UserBean userBean = (UserBean)session.getAttribute("userBean");
      
      String modelName = request.getParameter("fatherModid");
      if("moneyManage".equals(modelName)){
       %>

						<%if(userBean.getRuleId() == 1){ %>
						<tr>
							<td width="42" height="26" align="right" valign="middle">
								<img src="images/icon.jpg" width="14" height="13" />
							</td>
							<td width="92" valign="middle">
								<span class="STYLE3">&nbsp; <a href="financeAdd.jsp"
									target="mainFrame">发布财务信息</a>
								</span>
							</td>
						</tr>
						<tr>

							<%
      }else{
      %>
						
						<tr>
							<td width="42" height="26" align="right" valign="middle">
								<img src="images/icon.jpg" width="14" height="13" />
							</td>
							<td width="92" valign="middle">
								<span class="STYLE3">&nbsp; <a href="financeAdd.jsp"
									target="mainFrame">查询财务信息</a> </span>
							</td>
						</tr>
						<tr>

							<%
      }
      }
      if("systemManage".equals(modelName)){ 
      
      	if(userBean.getRuleId() == 1){ %>
     
						
						<tr>
							<td width="42" height="26" align="right" valign="middle">
								<img src="images/icon.jpg" width="14" height="13" />
							</td>
							<td width="92" valign="middle">
								<span class="STYLE3">&nbsp; <a href="messageAdd.jsp"
									target="mainFrame">维修信息发布</a>
								</span>
							</td>
						</tr>
						<tr>



							<%
							}
							} %>
						
					</table>
				</td>
				<td>
					&nbsp;
				</td>
			</tr>

			<tr>
				<td height="5" colspan="3" align="center" valign="middle">
					<img src="images/left_bot.jpg" width="134" height="5" />
				</td>
			</tr>
		</table>
	</body>
</html>
